package com.canxin.entity;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.hibernate.annotations.GenericGenerator;
import javax.persistence.SequenceGenerator;

/**   
 * @Title: Entity
 * @Description: 考试信息表
 * @author zhangdaihao
 * @date 2017-03-05 22:36:14
 * @version V1.0   
 *
 */
@Entity
@Table(name = "canxin_exam", schema = "")
@DynamicUpdate(true)
@DynamicInsert(true)
@SuppressWarnings("serial")
public class ExamEntity implements java.io.Serializable {
	/**examid*/
	private java.lang.String examid;
	/**examname*/
	private java.lang.String examname;
	/**examdate*/
	private java.lang.String examdate;
	/**status*/
	private java.lang.String status;
	
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  examid
	 */
    @Id
	@GenericGenerator(name="session_info_uuid_gen",strategy="assigned")
	@GeneratedValue(generator="session_info_uuid_gen")
	@Column(name ="EXAMID",nullable=false,length=64)
	public java.lang.String getExamid(){
		return this.examid;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  examid
	 */
	public void setExamid(java.lang.String examid){
		this.examid = examid;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  examname
	 */
	@Column(name ="EXAMNAME",nullable=true,length=64)
	public java.lang.String getExamname(){
		return this.examname;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  examname
	 */
	public void setExamname(java.lang.String examname){
		this.examname = examname;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  examdate
	 */
	@Column(name ="EXAMDATE",nullable=true,length=8)
	public java.lang.String getExamdate(){
		return this.examdate;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  examdate
	 */
	public void setExamdate(java.lang.String examdate){
		this.examdate = examdate;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  status
	 */
	@Column(name ="STATUS",nullable=true,length=1)
	public java.lang.String getStatus(){
		return this.status;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  status
	 */
	public void setStatus(java.lang.String status){
		this.status = status;
	}
}
